<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>

<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Cache-Control" content="no-cache"/>
        <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
        <link href="css.css" type="text/css" rel="StyleSheet"/>
        <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.3.js"></script>
        <script type="text/javascript" src="./js/regvalidace.js"></script>
        <script type="text/javascript">
            $(function(){
                $('#kaptchaIMG').click(function () { $(this).attr('src', 'kaptcha.jpg?'+Math.floor(Math.random()*100) );})
            });
        </script>
        <script type="text/javascript">
            if (top != self) top.location.replace(self.location.href);
        </script>
    </head>
    <body>

        <div id="container">
            <!-- header -->
            <jsp:include page="./header.jsp"></jsp:include>
            <jsp:include page="./menu.jsp"></jsp:include>

            <!--end header -->
            <!-- main  -->
            <div id="main">
                <c:choose>
                    <c:when test="${param.page=='login'}">
                        <jsp:include page="./login.jsp"/>
                    </c:when>
                    <c:when test="${param.page=='logout'}">
                        <jsp:include page="./logout.jsp"/>
                    </c:when>
                    <c:when test="${param.page=='uspesnaregistrace'}">
                        <jsp:include page="./uspesnaregistrace.jsp"/>
                    </c:when>
                    <c:when test="${param.page=='unauthorized'}">
                        <jsp:include page="./unauthorized.jsp"/>
                    </c:when>
                    <c:when test="${param.page=='activation'}">
                        <jsp:include page="./activation.jsp"/>
                    </c:when>
                    <c:otherwise>
                        <jsp:include page="./login.jsp"/>
                    </c:otherwise>
                </c:choose>
            </div>
            <span class="licence">This template is created by <a href="http://www.realitysoftware.ca/">Reality Software</a> and released by <a href="http://www.ondieting.co.uk/">On Dieting</a> under the <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0</a> license, which means you can use it in any way you want provided you keep links to authors intact.<br/></span>
        </div>
    </body>
</html>
